package state;

// 待投币状态
class NoCoinState implements VendingMachineState {
    @Override
    public void insertCoin() {
        System.out.println("Coin inserted.");
    }

    @Override
    public void selectProduct() {
        System.out.println("Please insert a coin first.");
    }

    @Override
    public void dispense() {
        System.out.println("Please insert a coin and select a product.");
    }
}